package com.example.demo2.service;

import com.example.demo2.entity.UploadedData;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/7/6 21:32
 */
public interface UploadedDataService {

    List<Map<String, String>> getAllUploadedDataNames();

    Page<UploadedData> getUploadedDataByName(String uploadName, int page, int size);
    void insertUploadedData(UploadedData data);
//    void insertUploadedDataBatch(List<UploadedData> dataList);
    int countByUploadName(String uploadName);
    List<String> getAllUploadNames();
    List<UploadedData> getUploadedDataByNameBatch(String uploadName, int offset, int batchSize);
}